/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ca.trader.utils;

import ca.trader.user.DoLogout;

/**
 *
 * @author Ahsan
 */
public class HttpConsts
{

	 public static final int MAX_USER_LOGIN_SESSION_LENGTH = 20 * 60;
	 public static final int MAX_USER_REMEMBER_COOKIE_AGE = 10 * 365 * 24 * 60 * 60;
	 public static final String SESSION_ATTRIBUTE_AUTHENTICATED_USER_EMAIL = "AuthenticatedUserEmail";
	 public static final String SESSION_ATTRIBUTE_AUTHENTICATED_USER_FIRST_NAME = "AuthenticatedUserFirstName";
	 public static final String SESSION_ATTRIBUTE_AUTHENTICATED_USER_ID = "AuthenticatedUserID";
	 public static final String SESSION_ATTRIBUTE_USER_AUTHENTICATED = "Authenticated";
	 public static final String SESSION_ATTRIBUTE_USER_NOT_AUTHENTICATED_REASON = "ReasonNotAuthenticated";
	 public static final String SESSION_ATTRIBUTE_USER_NOT_AUTHENTICATED_EMAIL = "UnauthenticatedUserEmail";
	 public static final String COOKIE_USER_LOGIN_REMEMBER_UUID = "TraderUID";
	 public static final String CREATE_SALE_JSP_PAGE = "createsale.jsp";
	 public static final String REGISTER_JSP_PAGE = "register.jsp";
	 public static final String LOGOUT_JSP_PAGE = "logout.jsp";
	 public static final String INDEX_JSP_PAGE = "index.jsp";
	 public static final String LOGIN_JSP_PAGE = "login.jsp";
	 public static final String VIEW_USER_PROFILE_JSP_PAGE = "viewprofile.jsp";
	 
	 public static final String LOGOUT_SERVLET_PAGE = DoLogout.class.getSimpleName();
}
